<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	
	
	
	

<h:body>
	<h1>Hello #{userBean.name}</h1>
    <h:form>  
    <p:growl id="messages"/>  
    
    <p:menu>  
        <p:submenu label="Search">  
            <p:menuitem value="Search Your Package" actionListener="#{menuBean.search}" update="messages"  outcome="/search" />  
            <p:menuitem value="Modify Your data" actionListener="#{menuBean.modify}" update="messages" outcome="/modifyPersonalData"/>  
            <p:menuitem value="Search By Flight,Hotels,Excursions" actionListener="#{menuBean.search}" update="messages" outcome="/searchByPackage"/> 
            <p:menuitem value="View Your Purchases History" actionListener="#{menuBean.search}" update="messages" outcome="/purchases"/> 
            <p:menuitem value="View Your Personalized Packages" actionListener="#{menuBean.search}" update="messages" outcome="/personalizedPackagesUserList"/> 
            
             
        </p:submenu>     
      </p:menu> 
      </h:form>
       
       
 
 
 
 
	<h:form>
		<p:commandButton action="#{logOutBean.logout()}" value="Logout" />
	</h:form>
</h:body>
</html>